package com.song.strategy.Impl;

import com.song.strategy.ICal;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * @Author Klys
 * @Date 2023/6/17 19:35
 * @Description
 * @Version 1.0
 */
@Component
public class ChineseCalStrategy implements ICal {
    @Override
    public Boolean judgementCal(Integer act) {
        return act == 1 ? Boolean.TRUE : Boolean.FALSE;
    }

    @Override
    public String cal() {
        return "中文计算结果";
    }
}
